home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 13 / CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso / CUCD / Graphics / WildFire / WildFireFPU / Bonus / DragGadget.lha / dragclass / drag.gadget.README < prev    next >
Text File  |  1996-12-24  |  2KB  |  45 lines

  1. drag.gadget 0.2
  2. ---------------
  3. Copyright © 1996 Jörg Kollmann
  4. All rights reserved.
  5.  
  6. This is the first beta-version of my drag&drop gadget BOOPSI class. It is not as
  7. functional as I would like to have it, but I have not enough time to complete it
  8. in the next weeks. For now it is only possible to define single gadgets and get
  9. the target coordinates of drop actions.
  10.  
  11. This software is a beta-version, so you use it at your own risk! The author can
  12. not be made responsible for any damage which is caused by using it.
  13.  
  14. I have tested it (not very much) on an A3000 with kickstart v40 and v37. There
  15. is still no documentation, so look at draggadget.h and dragtest.c (gcc-source) to
  16. see how to use it. If you create a gadget of this class, you have to specify
  17. DGA_Window OR DGA_Screen, whether you want the resulting bob to be moveable only
  18. within a window or the full screen. The field gadget->SpecialInfo points to a
  19. DragInfo structure (see draggadget.h). There you find the target coordinates
  20. after receiving IDCMP_GADGETUP.
  21.  
  22. Limitations:
  23. - For now the images specified by GA_Image and GA_SelectRender have to be
  24.   "conventional" (not BOOPSI) images (ImageData must be an array of Depth
  25.   bitplanes).
  26.  
  27. known bugs:
  28. - the display is locked by LockLayers() while a bob is displayed. That means
  29.   i.e. if your are dragging a gadget on a public screen and Intuition tries to
  30.   open a window, a deadlock occurs.
  31. - the background color of bobs is transparent.
  32.  
  33. TODO:
  34. - DragGroups to simplify shift-select
  35. - definition of target gadgets and windows
  36. - possibility to have different images for gadget and bob.
  37.  
  38. This version of drag.gadget is "e-mail ware"; if you write a program which uses
  39. it, i'd like to know that. My address is:
  40.  
  41. joergk@informatik.uni-bremen.de
  42.  
  43. Ciao,
  44.     Jörg
  45.